<h1>New invitation</h1>

<% form_for(@invitation) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :recipient_email, "Friend's Email Address" %><br />
    <%= f.text_field :recipient_email %>
  </p>

  <p>
    <%= f.submit 'Invite' %>
  </p>
<% end %>

<%= link_to 'Back', invitations_path %>